<?php

$str = "bbbb6df8cc9df0dd8df9";

$preg = "/\d([a-z]{2})(\d)/";

$c = preg_match($preg,$str);

var_dump($c);


$c = preg_match_all($preg,$str,$out);

var_dump($c);
var_dump($out);


preg_match()
preg_match_all()
preg_replace()
preg_split()